package com.explorex.infra.puma.gateway.netty.exeptions;

/**
 * @author: JacceYang
 * @createTime: 2022/08/11 16:39
 * @description: 消息解析异常
 */
public class MessageParseException extends RuntimeException {
    private  int code;

    public MessageParseException(int code,String message) {
        super(message);
        this.code=code;
    }

    public MessageParseException(String message, Throwable cause) {
        super(message, cause);
    }

    public MessageParseException(Throwable cause) {
        super(cause);
    }

    public int getCode() {
        return code;
    }
}
